IApi.WriteAxisProfileAcceleration 方法
设定轴的曲线加速度 (Profile Acceleration)。
命名空间:IntervalZero.KINGSTAR.Base.Api组合: IntervalZero.KINGSTAR.Base.Api (于 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0
语法
KsError WriteAxisProfileAcceleration(
int Index,
int Value
)
Function WriteAxisProfileAcceleration(
Index As Integer,
Value As Integer
) As KsError
参数
Index
型别:int
轴索引。索引以 0 为起始;别名将影响此参数。
Value
型别:int
欲写入的值。
回传值
型别:KsError
方法的回传值。
备注
- 在周期回呼中使用,以更新轴的曲线加速度 (Profile Acceleration)。
-
此函式只能在手动模式中使用,请见 McControlMode 列举。
注意:曲线加速度 (Profile Acceleration) 仅在 EnableProfilePosition 启用时才可使用。
可用的 EtherCAT 状态
ecatOP
范例
N/A
参见